package cn.toys.modular.mapper;

import cn.toys.modular.entity.ProductAttr;
import cn.toys.modular.entity.ProductAttrExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductAttrMapper {
    long countByExample(ProductAttrExample example);

    int deleteByExample(ProductAttrExample example);

    int insert(ProductAttr record);

    int insertSelective(ProductAttr record);

    List<ProductAttr> selectByExampleSelective(@Param("example") ProductAttrExample example, @Param("selective") ProductAttr.Column ... selective);

    ProductAttr selectOneByExample(ProductAttrExample example);

    ProductAttr selectOneByExampleSelective(@Param("example") ProductAttrExample example, @Param("selective") ProductAttr.Column ... selective);

    ProductAttr selectOneByExampleWithBLOBs(ProductAttrExample example);

    List<ProductAttr> selectByExampleWithBLOBs(ProductAttrExample example);

    List<ProductAttr> selectByExample(ProductAttrExample example);

    int updateByExampleSelective(@Param("record") ProductAttr record, @Param("example") ProductAttrExample example);

    int updateByExampleWithBLOBs(@Param("record") ProductAttr record, @Param("example") ProductAttrExample example);

    int updateByExample(@Param("record") ProductAttr record, @Param("example") ProductAttrExample example);
}